#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
    int a, b;
    cin >> a >> b;
    int m;
    m = a * 10 + b;
    cout << m / 19 << endl;
    return 0;
}